package com.example.entity;

import com.example.pojo.Medicine;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @email: pengyujun53@163.com
 * @author: peng_YuJun
 * @date: 2024/2/25
 * @time: 19:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VoPrescriptionDetail {

    private Long id;
    private String medicineIds; //开药信息
    private List<Medicine> medicineList;
    private String dosage;
    private String useway;
    private Integer status; //买药状态
    private Double price;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ctime; //开药时间

    private String drName; //医师姓名
    private String drEntName; //科室名称
    private String drEntAddr; //科室位置

    private List<String> symptoms;

}
